package com.example.michong.entity;


import com.example.michong.util.excel.ExcelExport;
import com.example.michong.util.excel.ExcelImport;

/**
 * 导出的模板文件
 * example 模板数据
 *  kv = "1-男;2-女" 数据映射
 * sort = 1 排序 数字越小 派越前
 */
public class ExcelExportTemplate {

    @ExcelExport("姓名")
    //@ExcelExport(value = "姓名" ,example = "赵xx" , kv = "1-男;2-女" , sort = 1 ) 对应controller有注解
    private String name;

    @ExcelExport("年龄")
    private String age;

    @ExcelImport("性别")
    private Integer gender;

    @ExcelImport(value = "电话")
    private String phone;

    @ExcelImport("头像")
    private String avatvr;
}
